package g;
import java.util.*;
/**
 * @author oldliu
 * @since 1.0
 */
//花园
public class Gardon {
    private String addr;
    private String name;
    private List<String> flowers=new ArrayList<>(0);

    private Map<String,String>emps=new HashMap<>();
    private Properties props=new Properties();

    public void show(){
        System.out.println("这个苗圃位于"+addr+",名字叫"+name);
        System.out.println("培育的品种有：");
        System.out.println(this.flowers);
        System.out.println("员工共有"+emps.size());
        System.out.println(emps);
        System.out.println("其他特性：");
        System.out.println(this.props);
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setFlowers(List<String> flowers) {
        this.flowers = flowers;
    }

    public void setEmps(Map<String, String> emps) {
        this.emps = emps;
    }

    public void setProps(Properties props) {
        this.props = props;
    }
}
